home *** CD-ROM | disk | FTP | other *** search
-
-
-
- BASENAME ST-UNIX User's Manual BASENAME
-
-
-
- COMMAND
- basename - remove path and suffix.
-
- FORMAT
- basename path [ suffix ]
-
- DESCRIPTION
- _✓B_✓a_✓s_✓e_✓n_✓a_✓m_✓e deletes any prefix ending in `/'. If _✓s_✓u_✓f_✓f_✓i_✓x is
- given and _✓p_✓a_✓t_✓h ends with it, then that is removed as well.
- The result is printed on the standard output.
- Example:
- basename /usr/local/man/sort.l .l
- will produce the result _✓s_✓o_✓r_✓t on the standard output.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Printed 28/March/1988 30 March 1987 1
-
-
-
-